home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_32.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  155KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky | tree
OCR: I-28 Mops Tutorial Notice several things. First of all, the beginning ofa class definition is :class (pronounced "colon class") with no space between the colon and the pioM "class" There S least one space or tab between :class and the name of the class. We have put RECT in capitals to make it stand out since this is where it is defined. However, this S not necessary, since upper and lower case are treated the same bv Mops You can use whatever style of formatting you prefer. On the same line as the name of the class is a reference to the superclass from which the class Rectangle is derived. This reference takes the form of "the word super (no space between super and then the name of the superclass, then These three items are separated bv spaces or tabs as for all Mops words (We will see lat ...